FROM java:8
MAINTAINER tangxu
RUN echo "Asia/Shanghai" > /etc/timezone
ENV DOCKER_REGISTRY_CERTIFICATE_PATH=/etc/docker/certs.d/
USER root
ADD target/*.jar /app.jar
EXPOSE 8080
CMD ["nohup","java","-jar","/app.jar","&"]
